package com.hzhr.iot.meterplan.dao.mapper.generator.custom;


import com.hzhr.iot.meterplan.entity.RuhujihuaEntity;
import com.hzhr.iot.meterplan.entity.ext.RuhujihuaEntityExt;
import org.apache.ibatis.annotations.Param;
import java.util.List;


public interface RuhujihuaEntityCustomMapper {

    //查询登录用户管辖范围下的远传表抄表计划
    List<RuhujihuaEntityExt> selectCbjhAndCbjh(@Param("start") Integer start,@Param("count") Integer count,@Param("id")String id, @Param("des")String des, @Param("typeId")String typeId, @Param("statusId")String statusId,@Param("orgId") String orgId);

     /*<!--查询登录用户管辖范围下的远传表抄表计划Count-->*/
    int selectCbjhAndCbjhCount(@Param("id")String id, @Param("des")String des, @Param("typeId")String typeId, @Param("statusId")String statusId,@Param("orgId") String orgId);


    int seq();

    //根据参数meterPlanId查询抄表计划
    RuhujihuaEntityExt selectRuhujihuaAndmeterPlanId(@Param("meterPlanId") String meterPlanId);


    //根据参数rh_id查询并返回list
    List<RuhujihuaEntity> selectByPrimaryKeyList(String rhId);



}
